package org.ch00.test09.demo07;

/**
 * 头
 *
 * @author ZQX
 * @date 2025-03-06
 */
public class Head {
    /**
     * 一个人头下有一个嘴巴 - 1 : 1
     */
    private Mouth mouth ;

    /**
     * 一个人头下有两只眼睛 - 1 : 2
     */
    private Eye[] eyes ;

    public Head() {
        mouth = new Mouth() ;
        eyes = new Eye[2] ;
        eyes[0] = new Eye() ;
        eyes[1] = new Eye() ;
    }
}
